﻿using System.Web.Mvc;
using TY.UC.Log4;

namespace TY.UI.Mvc
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            filters.Add(new WebAuthorityAttribute());
            Log4NetConfig.RegisterLog4Net();
            UnityConfig.RegisterComponents();
        }
    }
}
